
#ifndef	LEVEL_SLIDE_OBJECT_KINEMATIC_HPP
#define	LEVEL_SLIDE_OBJECT_KINEMATIC_HPP

#include <level/slide/object/object.hpp>
#include <rapidxml/rapidxml.hpp>

class kinematic_object : public object
{
public:

	kinematic_object( rapidxml::xml_node<>* node, world_ptr world );

	void step( float delta_time );
	//void draw( );

private:

	typedef std::pair< b2Vec2, float32 > point_t;
	typedef std::map< float, point_t > targets_map_t;

	targets_map_t m_targets;
	float m_max_time;
	float m_current_time;
};

#endif	//LEVEL_SLIDE_OBJECT_KINEMATIC_HPP
